package com.tbit.uqbike.webmanager.dao.log;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.tbit.common.entity.pojo.dto.ReturnBikeMsgLogDTO;
import com.tbit.common.entity.pojo.vo.ReturnBikeMsgLogVO;
import com.tbit.config.datasource.DataSource;
import com.tbit.uqbike.object.pojo.dto.GetReturnBikePointDTO;
import com.tbit.uqbike.object.pojo.vo.ReturnBikeMsgStatVO;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * @Author LHX
 * @ClassName ReturnBikeMsgLogDao
 * @Description
 * @date 2023/5/26 11:05
 * @Version 1.0
 */
@DS(DataSource.LOG)
public interface ReturnBikeMsgLogDao {
    /**
     * ��ȡ��Ӧ�����»�����
     *
     * @param dto
     * @return
     */
    List<ReturnBikeMsgLogVO> getReturnBikePoint(GetReturnBikePointDTO dto);

    ReturnBikeMsgStatVO getReturnBikeMsgStat(@Param("brandId") Integer brandId, @Param("accountId") Integer accountId, @Param("startTime") Date startTime, @Param("endTime") Date endTime);

    List<ReturnBikeMsgLogVO> getApplyReturnBikePoint(@Param("returnBikeMsgLogDTO") ReturnBikeMsgLogDTO returnBikeMsgLogDTO);
}
